package com.youlv.yl.entity.hotel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 酒店详情
 * </p>
 *
 * @author fenghe
 * @since 2022-01-05
 */
@Getter
@Setter
@TableName("h_hotel")
@ApiModel(value = "Hotel对象", description = "酒店详情")
public class Hotel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("酒店id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("酒店名称")
    @TableField("hotelName")
    private String hotelName;

    @ApiModelProperty("酒店等级")
    @TableField("hotelRank")
    private String hotelRank;

    @ApiModelProperty("酒店价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty("酒店地址_省")
    @TableField("province")
    private String province;

    @ApiModelProperty("酒店地址_市")
    @TableField("city")
    private String city;

    @ApiModelProperty("酒店地址_区")
    @TableField("area")
    private String area;

    @ApiModelProperty("详细地址")
    @TableField("addr")
    private String addr;

    @ApiModelProperty("酒店经度")
    @TableField("longitude")
    private BigDecimal longitude;

    @ApiModelProperty("酒店纬度")
    @TableField("latitude")
    private BigDecimal latitude;

    @ApiModelProperty("联系电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty("酒店品牌id")
    @TableField("bid")
    private Integer bid;

    @ApiModelProperty("酒店类型id")
    @TableField("tid")
    private Integer tid;

    @ApiModelProperty("酒店图片")
    @TableField("img")
    private String img;


}
